SIE status register
VBUS_DETECTED | Device: VBUS Detected |
LINE_STATE | USB bus line state |
SUSPENDED | Bus in suspended state. Valid for device. Device will go into suspend if neither Keep Alive / SOF frames are enabled. |
SPEED | Host: device speed. Disconnected = 00, LS = 01, FS = 10 |
VBUS_OVER_CURR | VBUS over current detected |
RESUME | Host: Device has initiated a remote resume. Device: host has initiated a resume. |
RX_SHORT_PACKET | Device or Host has received a short packet. This is when the data received is less than configured in the buffer control register. Device: If using double buffered mode on device the buffer select will not be toggled after writing status back to the buffer control register. This is to prevent any further transactions on that endpoint until the user has reset the buffer control registers. Host: the current transfer will be stopped early. |
CONNECTED | Device: connected |
SETUP_REC | Device: Setup packet received |
TRANS_COMPLETE | Transaction complete. Raised by device if:
Raised by host if:
|
BUS_RESET | Device: bus reset received |
ENDPOINT_ERROR | An endpoint has encountered an error. Read the ep_rx_error and ep_tx_error registers to find out which endpoint had an error. |
CRC_ERROR | CRC Error. Raised by the Serial RX engine. |
BIT_STUFF_ERROR | Bit Stuff Error. Raised by the Serial RX engine. |
RX_OVERFLOW | RX overflow is raised by the Serial RX engine if the incoming data is too fast. |
RX_TIMEOUT | RX timeout is raised by both the host and device if an ACK is not received in the maximum time specified by the USB spec. |
NAK_REC | Host: NAK received |
STALL_REC | Host: STALL received |
ACK_REC | ACK received. Raised by both host and device. |
DATA_SEQ_ERROR | Data Sequence Error. The device can raise a sequence error in the following conditions:
The host can raise a data sequence error in the following conditions:
|